<!DOCTYPE html>
<html lang="en" xmlns:th="https://www.thymeleaf.org"
      xmlns:sec="https://www.thymeleaf.org/thymeleaf-extras-springsecurity5">
<head>
    <meta charset="UTF-8">
    <title>测试1</title>
</head>
<body>
测试1
<span th:text="#{test.nav.tip}"></span>
<a sec:authorize="hasRole('ROLE_USER_UPDATE')"  href="#">修改</a>

<a sec:authorize="hasRole('ROLE_USER_DEL')"  href="#">删除</a>
</body>
</html>
